package com.iflytek.jcy.supervise.clue.mapper;

import com.iflytek.jcy.supervise.clue.dto.QueryClueCollectionListDTO;
import com.iflytek.jcy.supervise.clue.dto.response.ClueCollectionDTO;
import com.iflytek.jcy.supervise.clue.dto.response.ClueCollectionListDTO;
import com.iflytek.jcy.supervise.clue.entity.ClueCollection;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 线索集表 Mapper 接口
 * </p>
 *
 * @author dgyu
 * @since 2022-10-20
 */
public interface ClueCollectionMapper extends BaseMapper<ClueCollection> {
	
	List<ClueCollectionDTO> getCollectionByClueResultId(Integer taskDetailId,String rybm,Integer taskId);
	
	List<ClueCollectionDTO> getOtherCollectionByClueResultId(Integer taskDetailId,String rybm,Integer taskId);
	
	IPage<ClueCollectionListDTO> listCollection(IPage<QueryClueCollectionListDTO> page,@Param("rybm") String rybm,@Param("taskId") Integer taskId);

}
